package com.zhijiang.hospital.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhijiang.hospital.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * fan
 */
@Mapper
@DS("master")
public interface UserMapper extends BaseMapper<SysUser> {


    SysUser oneUser(String username);

    SysUser getOneUser(String userid);

    void updatePassword(@Param("password") String password, @Param("userId") String userId);

    String findUserId(String username);

    void insertEmployeeVo(@Param("roleId") String roleId, @Param("emplCode") String emplCode);

}
